﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Reflection;

namespace Flame.Dlr
{
    public class AssemblyWrapper
    {
        public string FullName { get; private set; }
        public string Location { get; private set; }
        public Assembly Assembly { get; private set; }

        public AssemblyWrapper() { }
        public AssemblyWrapper(string location) { FullName = null; Location = location; }
        public AssemblyWrapper(Assembly a)
        {
            Assembly = a;
            FullName = a.FullName;
            try
            {
                Location = a.Location;
            }
            catch
            {
                Location = null;
            }
        }
    }
}
